
.bread {
  margin-top: 80px;

  .btn {
    width: 226px;
  }

  p {
    display: inline-block;
    margin-left: 20px;
    color: #b8c2cc;
  }
}

.container.blog-new {
  padding: 32px 24px;
  margin-top: 16px;

  #classify {
    width: 152px;
  }

  #tags {
    width: 124px;
    display: inline-block;
    float: left;
  }

  #add-btn {
    width: 34px;
    line-height: 30px;
    height: 34px;
    font-size: 24px;
    position: relative;
    left: -4px;
    float: left;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background-color: #b8c2cc;

    &:hover {
      background-color: #168eff;
    }
  }

  .tag-box {
    span {
      display: inline-block;
      padding: 4px 8px;
      background-color: #168eff;
      color: #fff;
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      border-radius: 4px;
      margin: 6px 4px;
      font-size: 14px;
    }

  }

  .note-toolbar .btn {
    background-color: #fff;
    color: #09090d;
    padding: 0 12px;

    &:hover {
      background-color: #168eff;
      color: #fff;
    }
  }

  .note-editor.note-frame {
    border: 1px solid #ddd;
  }

  .submit {
    width: 226px;
  }

}

.banner-wrapper {
  background-color: #215381;
  margin-top: 64px;


  .banner {
    background: url("/dist/img/blog/banner.jpg") no-repeat;
    -webkit-background-size: 100%;
    background-size: 100%;
    padding: 0;

    h1 {
      color: #fff;
      font-size: 72px;
      margin: 0;
    }

    @media screen and (min-width: 768px) and (max-width: 1200px) {
      h1 {
        font-size: 36px;
      }
    }

    @media screen and (max-width: 768px) {
      width: 90%;
      h1 {
        font-size: 16px;
      }
    }
  }
}

.container.blog-container {
  margin-top: 24px;
  background: none;
  padding: 0;
  min-height:500px;

  .blog-header {
    overflow: hidden;
    .pic {
      float: left;
    }
    .title {
      float: left;
      margin-left: 8px;

      h2 {
        font-size: 24px;
        line-height: 40px;
        font-weight: bold;
        margin: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }

      p {
        color: #b8c2cc;
        line-height: 1;
        margin: 0;
        span {
          display: inline-block;
          margin-right: 8px;

          @media screen and (max-width: 768px) {
            &:nth-child(3) {
              margin: 0;
            }
          }

        }
      }

      a {
        color: #405366;

        &:hover, &:focus {
          color: #667585;
          text-decoration: none;
        }
      }

    }

  }

  .abstract {
    margin: 24px 0;
  }

  @media screen and (min-width: 768px) and (max-width: 1200px) {
    .pic {
      img {
        width: 56px;
        height: 56px;
      }
    }

    .title {
      h2 {
        font-size: 18px;
        line-height: 30px;
      }

      p {
        span {
          font-size: 14px;
        }
      }
    }
  }

  @media screen and (max-width: 768px) {

    width: 90%;

    .blog-header {

      .pic {
        img {
          width: 36px;
          height: 36px;
        }
      }

      .title {
        h2 {
          font-size: 16px;
          line-height: 20px;
        }

        p {
          span {
            font-size: 12px;
          }
        }
      }
    }

    .abstract {
      margin: 16px 0;
    }
  }

  .pic-box {
    margin-bottom: 16px;
    display: flex;

    .pic-wrap {
      flex: 1;
      height: 180px;
      overflow: hidden;


      img {
        height: 180px;

      }

      @media screen and (max-width: 768px) {
        height: 90px;

        img {
          height: 90px;
        }
      }
    }
  }

  .blog-list {
    padding: 0;

    @media screen and (max-width: 768px) {
      margin-top: 64px;
    }

    li {
      margin-bottom: 16px;
      padding: 24px;
      background-color: #fff;
      list-style: none;

      @media screen and (max-width: 768px) {
        padding: 16px 12px;
      }
    }
  }


  .message-list {
    padding: 0;

    li {
      margin-bottom: 16px;
      padding: 24px;
      background-color: #fff;
      list-style: none;
    }

    .main{
      overflow: hidden;
      .pic, .msg {
        float: left;
      }
      .pic {
        img {
          width: 64px;
        }
      }
      .msg {
        margin-left: 8px;

        .comment {
          margin-top: 8px;
          line-height:1;
        }

        .text-primary {
          color: #168eff;
        }

        .note {
          color: #b8c2cc;
          font-size: 14px;
        }
      }

    }

    .goto-btn {
      text-align: right;
    }


  }


  aside {
    .no-login {
      padding: 32px 24px;
      background-color: #fff;

      .line {
        height: 2px;
        background-color: #e4e7eb;
        margin: 20px 0;
      }
      button {
        width: 100%;
      }
    }

    .has-login {
      background-color: #fff;

      .user-bg {
        background: url("/dist/img/blog/userbg.jpg") no-repeat;
        height: 176px;
        -webkit-background-size:100%;
        background-size:100% 100%;
        padding-top: 32px;

        .user-icon {
          width: 96px;
          height: 96px;
          background-color: #fff;
          -webkit-border-radius:50%;
          -moz-border-radius:50%;
          border-radius: 50%;
          margin: 0 auto;


          img {
            width: 96px;
          }


        }

        p {
          text-align: center;
          color: #fff;
          margin-top: 12px;
          line-height:1;
        }
      }

      .mes {
        display: flex;

        .item {
          flex:1;

          text-align: center;

          h3 {
            font-size: 16px;
            font-weight:500;
          }
          p {
            font-size: 24px;
            font-weight:bold;
          }
        }
      }

      .new-article {
        padding: 10px 24px 32px;

        .btn {
          width: 100%;
        }
      }


    }

    .other {
      margin-top: 16px;
      background-color: #fff;
      padding: 24px 16px;

      span {
        float: left
      }

      span.mes-num {
        float: none;
        -webkit-border-radius:50%;
        -moz-border-radius:50%;
        border-radius:50%;
        background-color: #ff0000;
        color: #fff;
        display: inline-block;
        width: 14px;
        height: 14px;
        line-height:14px;
        text-align: center;
        font-size: 12px;
        position: relative;
        top: -5px;
      }

      .item {
        overflow: hidden;
        display:block;
        width:100%;
        span:nth-child(2){
          color:#000;
        }
        span:nth-child(3){
          float: right;
        }
      }

      .item:first-child {
        margin-bottom: 12px;
      }
      .eux-icon {
        top: -2px;
      }

      a {
        float: right;
      }
    }
  }
}

.blog-article {
  background-color: #fff;
  padding: 24px;

  @media screen and (max-width: 768px) {
    margin-top: 64px;
  }

  .content {
    margin-top: 16px;

    img {
      max-width: 100%;
    }
  }


}

.blog-utils {
  background-color: #fff;
  margin-top: 16px;
  padding: 8px 24px;
  overflow: hidden;

  .good, .love {
    float: left;
    width: 80px;
    height: 80px;
    background-color: #e4e7eb;
    margin-right:8px;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    text-align: center;
    cursor:pointer;
  }

  .delete, .edit {
    float: right;
    width: 80px;
    height: 80px;
    margin-left: 8px;
    text-align: center;
    color: #b8c2cc;
    .icon {
      a{
        p{
          color:#b8c2cc;
        }
      }

      a:hover{
        text-decoration:none;
        p{
          color:#405366;
        }
      }
    }
  }
}

.comment-form {
  background-color: #fff;
  margin-top: 16px;
  padding: 24px;

  .form-group {
    margin-bottom: 12px;
  }
  button[type=submit] {
    width: 216px;
  }
}

.comment-item {
  margin-top: 16px;

  .form-group {
    margin: 12px 0;
  }

  .btn[type=submit] {
    width: 216px;
  }

  .comment-content {
    background-color: #fff;
    padding: 24px;
    overflow: hidden;

    @media screen and (max-width: 768px){
      padding: 16px;

      .comment {
        margin-left: 0 !important;
      }
    }

    .user, .comment {
      float: left;
    }
    .comment {
      padding-top: 8px;
      margin-left: 12px;
    }
    p {
      color: #b8c2cc;
      margin: 0;
      font-size: 14px;
    }
    .reply-btn {
      text-align: right;
    }
  }
  .comment-reply {
    margin-top: 8px;
    padding: 24px 24px 24px 84px;
    background-color: #fff;

    @media screen and (max-width: 768px){
      padding: 16px;
    }



    .text-primary {
      color: #168eff;
    }


    .reply {
      float: right;
    }
  }

}




